package com.hnevc.xiewenguang;

/**
 *
 * 显式将数组赋值
 *
 */
public class Example8 {

    public static void main(String[] args){

        int[] arr = new int[4];
        arr[3] = 4;
        arr[1] = 2;
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);
        System.out.println(arr[3]);
        System.out.println(arr[4]);



    }



}
